]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
system: Align submenu labels with parent - adjust for deeper hierarchies
authorAndy Holmes <andrew.g.r.holmes@gmail.com>
Mon, 2 Apr 2018 21:54:43 +0000 (14:54 -0700)
committerAndy Holmes <andrew.g.r.holmes@gmail.com>
Mon, 2 Apr 2018 21:54:43 +0000 (14:54 -0700)
Adjust the previous commit which applied the alignment to :first-child
descendants, instead of only immediate children. This fixes alignment
issues for a number of Shell extensions by making it easier to override
with a .popup-menu-item style-subclass.

data/theme/gnome-shell-sass/_common.scss

index f83b0d88f7c5504ff560bc0685094984986451fb..2f05098dfa5a8d5abf8e6264008fc2ea6a72587c 100644 (file)
@@ -1111,7 +1111,7 @@ StScrollBar {
   .aggregate-menu {
     min-width: 21em;
     .popup-menu-icon { padding: 0 4px; }
-    .popup-sub-menu .popup-menu-item :first-child {
+    .popup-sub-menu .popup-menu-item > :first-child {
       &:ltr { /* 12px spacing + 2*4px padding */
               padding-left: 20px; margin-left: 1.09em; }
       &:rtl { /* 12px spacing + 2*4px padding */